<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm',array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>
	<?php echo $form->label($model,'id');?>
	<?php echo $form->textField($model,'id',array('class'=>'span3')); ?>

	<?php echo $form->label($model,'name');?>
	<?php echo $form->textField($model,'name',array('class'=>'span3','maxlength'=>250)); ?>

	<?php echo $form->label($model,'username');?>
	<?php echo $form->textField($model,'username',array('class'=>'span3','maxlength'=>45)); ?>

	<?php echo $form->label($model,'email');?>
	<?php echo $form->textField($model,'email',array('class'=>'span3','maxlength'=>250)); ?>

	<?php echo $form->dropDownListRow($model,'level',User::$badges, array('class'=>'span3')); ?>

	<div class="form-actions">
		<?php $this->widget('bootstrap.widgets.TbButton', array(
			'buttonType'=>'submit',
			'type'=>'primary',
			'label'=>'Procurar',
		)); ?>
	</div>

<?php $this->endWidget(); ?>
